from flask_restful import Resource
from app.models import User


class QuestionAPI(Resource):
    def get(self, qid):
        return {'QuestionAPI': '获取指定试题'}

    def put(self, qid):
        return {'QuestionAPI': '修改指定试题'}

    def delete(self, qid):
        return {'QuestionAPI': '删除指定试题'}


class QuestionListAPI(Resource):
    def get(self):
        return {'QuestionListAPI': '获取试题列表'}

    def post(self):
        return {'QuestionListAPI': '创建新的试题'}
